<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Gitter – {{ title }}</title>
    <meta charset="utf-8">
    <meta name="google-site-verification" content="nnoWjW8hKT4umkqn1UrCdVHtLs8Q2pDi5ek0x5PUHug" />

    <link rel="shortcut icon" href="{{cdn 'images/favicon-error.ico' }}">
    <link rel="stylesheet" href="{{cdn 'styles/error-layout.css' }}">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script type="text/javascript">
      window.addEventListener("message", function(e) {
        if (e.data && e.data.type === 'oauth_upgrade_complete') {
          window.location.reload(true);
        }
      }, false);

      $(document).ready(function() {
        $('#upgrade').on('click', function(e) {
          e.preventDefault();
          window.open('/login/upgrade?scopes=repo');
        });
      });
    </script>
  </head>
  <body class="error-page">
    {{{ body }}}
  </body>
</html>
